package com.cloud.mall.cms.service;

import com.cloud.mall.base.BaseResponse;
import com.cloud.mall.cms.out.CmsPrefrenceAreaOut;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Api(tags = "商品优选管理")
@RequestMapping("/prefrenceArea")
public interface CmsPrefrenceAreaService {

    @ApiOperation("获取所有商品优选")
    @GetMapping("list")
    BaseResponse<List<CmsPrefrenceAreaOut>> list();
}
